package com.xhrd.framework.dao.mybatis.typehandler;

import java.io.Serializable;
import java.sql.CallableStatement;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

import org.apache.ibatis.type.BaseTypeHandler;
import org.apache.ibatis.type.JdbcType;

public class IDHandler extends BaseTypeHandler<Serializable>{

    @Override
    public Serializable getNullableResult(ResultSet arg0, String arg1) throws SQLException {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Serializable getNullableResult(ResultSet arg0, int arg1) throws SQLException {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Serializable getNullableResult(CallableStatement arg0, int arg1) throws SQLException {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void setNonNullParameter(PreparedStatement arg0, int arg1, Serializable arg2, JdbcType arg3) throws SQLException {
        // TODO Auto-generated method stub

    }

}
